projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69bab1d
)
Do not indent at the beginning of buffer fix
author
Fabián Ezequiel Gallina
<fgallina@cuca>
Thu, 17 May 2012 03:02:56 +0000
(
00:02
-0300)
committer
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Thu, 17 May 2012 03:02:56 +0000
(
00:02
-0300)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 9a55f337996b2d89b24511582e8bbcaecd18c95d..3f363f960edcb3b8c7e7692035b0196c4c6117ee 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-453,7
+453,9
@@
START is the buffer position where the sexp starts."
(cons
(cond
;; Beginning of buffer
- ((bobp)
+ ((save-excursion
+ (goto-char (line-beginning-position))
+ (bobp))
'no-indent)
;; Inside a paren
((setq start (nth 1 ppss))